package com.haima.sage.bigdata.api.vo.param;

import com.haima.sage.bigdata.api.vo.BaseParam;
import com.haima.sage.bigdata.api.vo.OrderParam;
import com.haima.sage.bigdata.api.vo.param.order.OrderType;

import java.util.List;
import java.util.SortedMap;

/**
 * select * from ${table}
 * where ${where}
 * sort by ${sortBys}
 * limit ${limit} offset ${offset};
 */
public class ListParam extends OrderParam {

    private List<String> fields; // 空，返回所有
    private Integer offset;
    private Integer limit;

    public List<String> getFields() {
        return fields;
    }

    public void setFields(List<String> fields) {
        this.fields = fields;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

}
